package com.ee.chat.common.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 用户评价主播记录表
 * </p>
 *
 * @author Shane
 * @since 2019-11-01
 */
@TableName("user_to_host_log")
public class UserToHostLog implements Serializable {

    private static final long serialVersionUID = 1L;

	/**
	 * 
	 */
	@TableId(type = IdType.AUTO)
	private Integer id;

	/**
	 * 用户id
	 */
	@TableField(value="user_id")
	private Integer userId;

	/**
	 * 主播id
	 */
	@TableField(value="host_user_id")
	private Integer hostUserId;

	/**
	 * 视频通话id
	 */
	@TableField(value="video_call_id")
	private Integer videoCallId;

	/**
	 * 标签类别，0-正面标签  1-负面标签
	 */
	@TableField(value = "`type`")
	private Integer type;

	/**
	 * 
	 */
	@TableField(value="create_time")
	private Date createTime;

	public UserToHostLog() {
	}

	public UserToHostLog(Integer userId, Integer hostUserId, Integer videoCallId, Integer type) {
		this.userId = userId;
		this.hostUserId = hostUserId;
		this.videoCallId = videoCallId;
		this.type = type;
	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getUserId() {
		return userId;
	}

	public void setUserId(Integer userId) {
		this.userId = userId;
	}

	public Integer getHostUserId() {
		return hostUserId;
	}

	public void setHostUserId(Integer hostUserId) {
		this.hostUserId = hostUserId;
	}

	public Integer getVideoCallId() {
		return videoCallId;
	}

	public void setVideoCallId(Integer videoCallId) {
		this.videoCallId = videoCallId;
	}

	public Integer getType() {
		return type;
	}

	public void setType(Integer type) {
		this.type = type;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

}
